﻿#region 文件信息

// FileName: SoCafeShop/Sohobloo.SoMcCoffee.Data/IEntityMapper.cs
// Author: Sohobloo
// CreateTime: 2013/06/28 20:31
// UpdateTime: 2013/06/30 3:41

#endregion

#region 引用

using System.ComponentModel.Composition;
using System.Data.Entity.ModelConfiguration.Configuration;

#endregion

namespace Sohobloo.SoMcCoffee.Data
{
    /// <summary>
    ///     实体映射接口
    /// </summary>
    [InheritedExport]
    public interface IEntityMapper
    {
        /// <summary>
        ///     将当前实体映射对象注册到当前数据访问上下文实体映射配置注册器中
        /// </summary>
        /// <param name="configurations">实体映射配置注册器</param>
        void RegistTo(ConfigurationRegistrar configurations);
    }
}